
<!doctype html>

<html>

	<head>

		<meta charset="utf-8" />

		<title>Simple Examples</title>

		<style>

			form {

				margin: 0;

			}

			textarea {

				display: block;

			}

		</style>

		<script charset="utf-8" src="../js/kindeditor/kindeditor-min.js"></script>
		<script charset="utf-8" src="../js/kindeditor/lang/zh_CN.js"></script>

		<script>

			var editor;

			KindEditor.ready(function(K) {

				editor = K.create('textarea[name="content"]', {

					resizeType : 1,

					allowPreviewEmoticons : false,

					allowImageUpload : false,

					items : [

						'fontname', 'fontsize', '|', 'forecolor', 'hilitecolor', 'bold', 'italic', 'underline',

						'removeformat', '|', 'justifyleft', 'justifycenter', 'justifyright', 'insertorderedlist',

						'insertunorderedlist', '|', 'emoticons', 'image', 'link']

				});

			});

		</script>

	</head>

	<body>

		<h3>默认模式</h3>

		<form>

			<textarea name="content" style="width:700px;height:200px;visibility:hidden;">KindEditor</textarea>

		</form>

	</body>

</html>

